package com.liao.domain.strategy.service.rule.chain;

/**
 * @Author long
 * @Description TODO
 * @Date 2024-08-26 11:35
 */
public abstract class AbstractLogicChain implements ILogicChain {

    private ILogicChain logicChain;

    @Override
    public ILogicChain appendNext(ILogicChain next) {
        this.logicChain = next;
        return next;
    }

    @Override
    public ILogicChain next() {
        return logicChain;
    }

    protected abstract String ruleModel();
}
